<template>
  <div>
  <div class="dog">
    <img 
   src="https://scpic.chinaz.net/files/pic/pic9/202003/zzpic23514.jpg" alt=""
   >
   <p>这是一个孤独的狗</p>
  </div>
  </div>
</template>

<script>
export default {

}
</script>

<style>
.dog {
 float: left;
 width: 200px;
 height: 200px;
}
img {
 width: 70%;
 height: 70%;
}
</style>